package com.naiyumi.util;

import java.io.File;
import java.io.FilenameFilter;

public class FloderNameFilter implements FilenameFilter {
	private String type;
	public FloderNameFilter(String type){
		this.type = type;
	}
	public boolean accept(File dir,String name){
		return name.contains(type)||name.contains("public");
	}
}